//
//  XRCommonPopSheetView.h
//  XClassRoom
//
//  Created by 余伟 on 2016/12/26.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import <UIKit/UIKit.h>
//用于自定义sheetView
//需要传递数组
typedef void(^ClickBlock)(NSInteger  index);
@interface XRCommonPopSheetView : UIView
-(instancetype)initWithTitleArray:(NSArray *)titleArray cancelButtonTitle:(NSString *) cancelButtonTitlel;
-(instancetype)initWithTitleArray:(NSArray *)titleArray cancelButtonTitle:(NSString *) cancelButtonTitlel ClickBlock:(ClickBlock)clickBlock;

-(void)show;

@end
